import Umi, { useSelector } from 'umi';

export default function () {
  const profileData: Umi.TProfileModelState = useSelector(
    (state: Umi.TProfileModelState) => state['profile'],
  );

  return profileData;
}
